package com.qdu.entity;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ellery2018
 * @since 2022-03-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "mytrace")
@ApiModel(value="Mytrace对象", description="")
public class Mytrace implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "轨迹 ID")
    @TableId(type = IdType.AUTO)
    private Integer traceId;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "维度")
    private String latitude;

    @ApiModelProperty(value = "记录时间")
    @TableField("theFirstDate")
    private LocalDateTime theFirstDate;

    @ApiModelProperty(value = "用户 ID")
    @TableField("userId")
    private Integer userId;

    @ApiModelProperty(value = "路径对应路线 ID")
    @TableField("routeId")
    private Integer routeId;


}
